package com.sstir.doctor.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @ClassName RankingListVO
 * @Description
 * @Author hanjunjun
 * @Date 2021/1/14 18:28
 */
@Getter
@Setter
@NoArgsConstructor
@ApiModel("排行榜展示对象")
@JsonIgnoreProperties(ignoreUnknown = true)
public class RankingListVO {

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("游戏难度：1-简单,2-中等,3-困难")
    private String userDiff;

    @ApiModelProperty("分数")
    private Integer userScore;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private LocalDateTime insertTime;

}
